package com.dongdongshop.service;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbTypeTemplate;

public interface TypeTemplateService {
    Page<TbTypeTemplate> templatePage(String name,Integer pageNumber, Integer pageSize);

    Integer addInfo(TbTypeTemplate tbTypeTemplate);

    TbTypeTemplate getTypeById(Long id);

    Integer updateInfo(TbTypeTemplate tbTypeTemplate);

    Integer deleteTypeById(Long[] id);

    Integer deleteById(Long id);
}
